Skip to main content

Credit points to a user

POST 

/points/:entityType/:userID

This endpoint returns all points

Request

Path Parameters

    userID stringrequired

    The user ID of the user to get points for

    entityType stringrequired

    Possible values: [user, group]

    The entity type of the user to get points for

Body

    value integerrequired

    the number of points to credit

    reason stringrequired

    the reason for crediting the points

Responses

A list of points

Schema

    string

Loading...